﻿//------------------------------------------------------------------------------
// 创建标识: Copyright (C) 2010 Socansoft.com 版权所有
// 创建描述: SocanCode代码生成器 V4.3.3.6 自动创建于 2010/4/15 9:33:34
//
// 功能描述: 
//
// 修改标识: 
// 修改描述: 
//------------------------------------------------------------------------------

using System;

namespace IBSModel
{
    /// <summary>
    /// 实体类 TimeTable
    /// </summary>
    [Serializable]
    public class TimeTable : ICloneable
    {
        public TimeTable()
        { }

        /// <summary>
        /// 构造函数 TimeTable
        /// </summary>
        /// <param name="iD">ID</param>
        /// <param name="ownLineIBDMID">OwnLineIBDMID</param>
        /// <param name="timeTableName">TimeTableName</param>
        /// <param name="beginDate">BeginDate</param>
        /// <param name="endDate">EndDate</param>
        /// <param name="startStationName">StartStationName</param>
        /// <param name="endStationName">EndStationName</param>
        /// <param name="tokenAmount">TokenAmount</param>
        /// <param name="turnAmount">TurnAmount</param>
        /// <param name="showRowsAmount">ShowRowsAmount</param>
        /// <param name="showColsAmount">ShowColsAmount</param>
        /// <param name="level">作用类型共2种1. 特殊 按具体日期, 一次性使用2. 普通 按周几,呈周期翻转起效时特殊优先考虑</param>
        /// <param name="type">原来的UserSort7位2进制表示, 周几有效</param>
        /// <param name="valid">Valid</param>
        /// <param name="createDate">CreateDate</param>
        public TimeTable(int iD, string ownLineIBDMID, string timeTableName, DateTime beginDate, DateTime endDate, string startStationName, string endStationName, int tokenAmount, int turnAmount, int showRowsAmount, int showColsAmount, int level, string type, bool valid, DateTime createDate)
        {
            _iD = iD;
            _ownLineIBDMID = ownLineIBDMID;
            _timeTableName = timeTableName;
            _beginDate = beginDate;
            _endDate = endDate;
            _startStationName = startStationName;
            _endStationName = endStationName;
            _tokenAmount = tokenAmount;
            _turnAmount = turnAmount;
            _showRowsAmount = showRowsAmount;
            _showColsAmount = showColsAmount;
            _level = level;
            _type = type;
            _valid = valid;
            _createDate = createDate;
        }

        #region Model

        private int _iD;
        private string _ownLineIBDMID;
        private string _timeTableName;
        private DateTime _beginDate;
        private DateTime _endDate;
        private string _startStationName;
        private string _endStationName;
        private int _tokenAmount;
        private int _turnAmount;
        private int _showRowsAmount;
        private int _showColsAmount;
        private int _level;
        private string _type;
        private bool _valid;
        private DateTime _createDate;
        /// <summary>
        /// ID
        /// </summary>
        public int ID
        {
            set { _iD = value; }
            get { return _iD; }
        }
        /// <summary>
        /// OwnLineIBDMID
        /// </summary>
        public string OwnLineIBDMID
        {
            set { _ownLineIBDMID = value; }
            get { return _ownLineIBDMID; }
        }
        /// <summary>
        /// TimeTableName
        /// </summary>
        public string TimeTableName
        {
            set { _timeTableName = value; }
            get { return _timeTableName; }
        }
        /// <summary>
        /// BeginDate
        /// </summary>
        public DateTime BeginDate
        {
            set { _beginDate = value; }
            get { return _beginDate; }
        }
        /// <summary>
        /// EndDate
        /// </summary>
        public DateTime EndDate
        {
            set { _endDate = value; }
            get { return _endDate; }
        }
        /// <summary>
        /// StartStationName
        /// </summary>
        public string StartStationName
        {
            set { _startStationName = value; }
            get { return _startStationName; }
        }
        /// <summary>
        /// EndStationName
        /// </summary>
        public string EndStationName
        {
            set { _endStationName = value; }
            get { return _endStationName; }
        }
        /// <summary>
        /// TokenAmount
        /// </summary>
        public int TokenAmount
        {
            set { _tokenAmount = value; }
            get { return _tokenAmount; }
        }
        /// <summary>
        /// TurnAmount
        /// </summary>
        public int TurnAmount
        {
            set { _turnAmount = value; }
            get { return _turnAmount; }
        }
        /// <summary>
        /// ShowRowsAmount
        /// </summary>
        public int ShowRowsAmount
        {
            set { _showRowsAmount = value; }
            get { return _showRowsAmount; }
        }
        /// <summary>
        /// ShowColsAmount
        /// </summary>
        public int ShowColsAmount
        {
            set { _showColsAmount = value; }
            get { return _showColsAmount; }
        }
        /// <summary>
        /// 作用类型共2种1. 特殊 按具体日期, 一次性使用2. 普通 按周几,呈周期翻转起效时特殊优先考虑
        /// </summary>
        public int Level
        {
            set { _level = value; }
            get { return _level; }
        }
        /// <summary>
        /// 原来的UserSort7位2进制表示, 周几有效
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// Valid
        /// </summary>
        public bool Valid
        {
            set { _valid = value; }
            get { return _valid; }
        }
        /// <summary>
        /// CreateDate
        /// </summary>
        public DateTime CreateDate
        {
            set { _createDate = value; }
            get { return _createDate; }
        }

        #endregion

        #region ICloneable 成员

        public object Clone()
        {
            return this.MemberwiseClone();
        }

        #endregion
    }
}